home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr54
/
bos2ol.zip
/
BOSS2OL.DOC
< prev
next >
Wrap
Text File
|
1993-06-01
|
4KB
|
85 lines
BOSS2OL is a conversion program to convert Casio BOSS record format to
the Sharp Wizard Organizer Link 2 format. Both the input and output
files are assumed to be in the SDF (Standard Delimited Format). The
Sharp software supports import and export in this format and it is the
easiest for the BOSS2OL program to read and write. I don't recall if
the Casio software supports an import / export function, but I believe
that they store their information in the SDF format all the time. You
can simply seperate the sections of the Casio file and write them to
different files.
BOSS2OL supports 4 different file types. The reason to seperate the
data before conversion is one of simplicity for the conversion code.
It is much easier for the code to know which type of conversion it is
doing than to have to guess which record type this might be (ie. the
programmer was lazy).
The first file type is Telephone (code letter 'P' for Phone). The
phone file on the Casio has 9 fields while the Sharp only has 3. I
made several assumptions about the format of data in the "free" fields
on the Casio. I use the first free field as the name of the spouse for
the main record. Because of this, I append the first free field to the
end of the name field on the Sharp. All other free fields are appended
to the end of the address field on the Sharp. Also, because lower case
is really not supported on the Sharp, I convert the phone record to
upper case.
The second file type is Business card (code letter 'B'). The Sharp
does not have a Business card section (at least not on the ZQ-5200 that
I own) so I have to convert the many Casio fields to the 3 Sharp
fields. I took several liberties here because of the way I used the
"free" fields on the Casio. I use free1 as the home address for the
person on the card and I use free2 for the home phone. Because of
these assumptions and because of the lack of fields on the Sharp the
following conversions are preformed. Append the employeer, position
and department to the name field. Append the telex, fax and home phone
to the phone field. Append the P.O. Box, home address and the
remaining 4 free fields to the address field. Again, because lower
case is not supported on the Sharp, I convert the entire record to
upper case.
The third file type is Novell Business card (code letter 'N'). I
happen to work at Novell and I have a large number of entries in the
Business card section on the Casio that are Novell employees. The
Sharp supports 3 telephone books, so I used one for personal, one for
business (other than Novell), and one for Novell employees. Thus,
there is a special business card conversion for "Novell" records. For
the Novell section I do the following. Trash the employeer (I know it
is Novell). Append the position and depertment to the name. Append
the telex, fax and home phone to the phone field. Append the P.O. Box,
home address and the 4 remaining free fields to the address field. I
also convert the record to upper case as before.
The last file type is the Schedule (code letter 'S'). The schedule
records on the Casio are almost exactly the same as on the Sharp except
that the date is formated differently (YYYY-MM-DD vs. MM/DD/YYYY) and
the time is in 12 hour format on the Sharp and 24 hour format on the
BOSS.
Well, that about covers all the information that you might need to know
to convert your data from the Casio to the Sharp. If you need to
change any of the conversion routines, the source is included, so go
for it! The source was compiled with Borland C and is pretty much ANSI
standard stuff. It should (no guarantees) compile unmodified on most
any decent C compiler for the PC.
Usage: BOSS2OL type infile outfile
'type' can be one of the following
P = telePhone
B = Business card
N = Novell business card
S = Schedule
If you have any questions, or if you have any cash that is burning a
whole in your pocket, please contact me at the following address.
James H. Brown
CIS: 75730,212
MHS: JBrown@Novell
Postal: (Only if really desparate and willing to wait a long time for
an answer)
255 W. 2000 S.
Orem, UT 84058